import { Controller, Get } from '@nestjs/common';

// Get http://localhost:3000/user/findAll
@Controller('/user')
export class UserController {
  // 调用service，实例化
  
  // nest g co :生成了controller
  @Get('/findAll')
  findAll(): string {
    return 'hello world';
  }
}
